package com.whminwei.edu.api.dc.dto.fspn.student;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author zhangjq
 * @since 2024-10-22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcStudentInternFspn {

    private List<DcStudentIntern> studentInterns;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcStudentIntern {
        private String internshipRecordId;
        /**
         * 学生id
         */
        private String studentId;
        /**
         * 岗位id
         */
        private String internshipProgramId;
        /**
         * 实习报告
         */
        private List<DcInternReport> internReports;
    }

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcInternReport {
        /**
         * 报告id
         */
        private String reportId;
        /**
         * 报告名称
         */
        private String reportName;
        /**
         * 报告类型
         */
        private String reportType;
        /**
         * 报告月份
         */
        private String reportMonth;
        /**
         * 提交时间
         */
        private Date submitTime;
        /**
         * 报告分数
         */
        private Integer reportScore;
        /**
         * 评语
         */
        private String comment;
        /**
         * 详情
         */
        private String content;
        /**
         * 是否删除
         */
        private String deleted;
    }
}
